ShortPixel\Notices\NoticeController A

Total Complexity 67
Dependencies 2
Dependents 11
Total lines 373
Lines of code 249
Logical lines of code 130
Comment lines 34
Methods 23
Properties 8

Methods 23

Method Rating Maintainability Complexity Lines of code
ajax_action()
A
47 8 36
loadNotices()
S
54 7 22
makePersistent()
S
53 6 24
getNoticesForDisplay()
S
55 6 21
update()
S
56 6 19
addNotice()
S
58 5 16
admin_notices()
S
59 4 15
removeNoticeByID()
S
60 4 13
getNoticeByID()
S
67 3 8
getInstance()
S
69 2 7
printNoticeStyle()
S
66 2 9
loadIcons()
S
75 2 4
loadConfig()
S
68 2 8
getNewNotices()
S
81 1 3
getNotices()
S
81 1 3
countNotices()
S
76 1 4
addNormal()
S
72 1 5
addError()
S
72 1 5
addWarning()
S
72 1 5
addSuccess()
S
72 1 5
addDetail()
S
73 1 5
resetNotices()
S
71 1 5
__construct()
S
67 1 7